﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类RESULT_RECORD
     ///</summary>
     public class RESULT_RECORD
     {
         private int __ID= 0;
         private string __JCLSH="" ;
         private string __LWLSH="" ;
         private string __Z_PD="" ;
         private int __JCCS= 0;
         private int __JCXH= 0;
         private int __DownLineStatus= 0;
         private string __DownLineTime="" ;
         private int __IsPrintReport= 0;
         private string __HPHM="" ;
         private string __HPZLDH="" ;
         private string __ZHJYLBDH="" ;
         private string __JYLBDH="" ;
         private string __JYLB="" ;
         private string __FJXM="" ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public RESULT_RECORD()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCLSH",false);
             this.__Changed.Add("LWLSH",false);
             this.__Changed.Add("Z_PD",false);
             this.__Changed.Add("JCCS",false);
             this.__Changed.Add("JCXH",false);
             this.__Changed.Add("DownLineStatus",false);
             this.__Changed.Add("DownLineTime",false);
             this.__Changed.Add("IsPrintReport",false);
             this.__Changed.Add("HPHM",false);
             this.__Changed.Add("HPZLDH",false);
             this.__Changed.Add("ZHJYLBDH",false);
             this.__Changed.Add("JYLBDH",false);
             this.__Changed.Add("JYLB",false);
             this.__Changed.Add("FJXM",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID = 0;
             this.__JCLSH = "" ;
             this.__LWLSH = "" ;
             this.__Z_PD = "" ;
             this.__JCCS = 0;
             this.__JCXH = 0;
             this.__DownLineStatus = 0;
             this.__DownLineTime = "" ;
             this.__IsPrintReport = 0;
             this.__HPHM = "" ;
             this.__HPZLDH = "" ;
             this.__ZHJYLBDH = "" ;
             this.__JYLBDH = "" ;
             this.__JYLB = "" ;
             this.__FJXM = "" ;
             this.__Changed["ID"] = false;
             this.__Changed["JCLSH"] = false;
             this.__Changed["LWLSH"] = false;
             this.__Changed["Z_PD"] = false;
             this.__Changed["JCCS"] = false;
             this.__Changed["JCXH"] = false;
             this.__Changed["DownLineStatus"] = false;
             this.__Changed["DownLineTime"] = false;
             this.__Changed["IsPrintReport"] = false;
             this.__Changed["HPHM"] = false;
             this.__Changed["HPZLDH"] = false;
             this.__Changed["ZHJYLBDH"] = false;
             this.__Changed["JYLBDH"] = false;
             this.__Changed["JYLB"] = false;
             this.__Changed["FJXM"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCLSH]的数据
         /// </summary>
         public string JCLSH
         {
              set{ __JCLSH = value.Replace("'","’"); __Changed["JCLSH"] = true;}
              get{return __JCLSH;}
         }
         /// <summary>
         ///设置或获取类中的[LWLSH]的数据
         /// </summary>
         public string LWLSH
         {
              set{ __LWLSH = value.Replace("'","’"); __Changed["LWLSH"] = true;}
              get{return __LWLSH;}
         }
         /// <summary>
         ///设置或获取类中的[Z_PD]的数据
         /// </summary>
         public string Z_PD
         {
              set{ __Z_PD = value.Replace("'","’"); __Changed["Z_PD"] = true;}
              get{return __Z_PD;}
         }
         /// <summary>
         ///设置或获取类中的[JCCS]的数据
         /// </summary>
         public int JCCS
         {
              set{ __JCCS = value; __Changed["JCCS"] = true;}
              get{return __JCCS;}
         }
         /// <summary>
         ///设置或获取类中的[JCXH]的数据
         /// </summary>
         public int JCXH
         {
              set{ __JCXH = value; __Changed["JCXH"] = true;}
              get{return __JCXH;}
         }
         /// <summary>
         ///设置或获取类中的[DownLineStatus]的数据
         /// </summary>
         public int DownLineStatus
         {
              set{ __DownLineStatus = value; __Changed["DownLineStatus"] = true;}
              get{return __DownLineStatus;}
         }
         /// <summary>
         ///设置或获取类中的[DownLineTime]的数据
         /// </summary>
         public string DownLineTime
         {
              set{ __DownLineTime = value.Replace("'","’"); __Changed["DownLineTime"] = true;}
              get{return __DownLineTime;}
         }
         /// <summary>
         ///设置或获取类中的[IsPrintReport]的数据
         /// </summary>
         public int IsPrintReport
         {
              set{ __IsPrintReport = value; __Changed["IsPrintReport"] = true;}
              get{return __IsPrintReport;}
         }
         /// <summary>
         ///设置或获取类中的[HPHM]的数据
         /// </summary>
         public string HPHM
         {
              set{ __HPHM = value.Replace("'","’"); __Changed["HPHM"] = true;}
              get{return __HPHM;}
         }
         /// <summary>
         ///设置或获取类中的[HPZLDH]的数据
         /// </summary>
         public string HPZLDH
         {
              set{ __HPZLDH = value.Replace("'","’"); __Changed["HPZLDH"] = true;}
              get{return __HPZLDH;}
         }
         /// <summary>
         ///设置或获取类中的[ZHJYLBDH]的数据
         /// </summary>
         public string ZHJYLBDH
         {
              set{ __ZHJYLBDH = value.Replace("'","’"); __Changed["ZHJYLBDH"] = true;}
              get{return __ZHJYLBDH;}
         }
         /// <summary>
         ///设置或获取类中的[JYLBDH]的数据
         /// </summary>
         public string JYLBDH
         {
              set{ __JYLBDH = value.Replace("'","’"); __Changed["JYLBDH"] = true;}
              get{return __JYLBDH;}
         }
         /// <summary>
         ///设置或获取类中的[JYLB]的数据
         /// </summary>
         public string JYLB
         {
              set{ __JYLB = value.Replace("'","’"); __Changed["JYLB"] = true;}
              get{return __JYLB;}
         }
         /// <summary>
         ///设置或获取类中的[FJXM]的数据
         /// </summary>
         public string FJXM
         {
              set{ __FJXM = value.Replace("'","’"); __Changed["FJXM"] = true;}
              get{return __FJXM;}
         }
    }
}
